function Weaponconfigstart(ply)
	local plyuni = ply:UniqueID()
	local rp = RecipientFilter()
	rp:AddPlayer(ply)
	umsg.Start("Weaponconfig", rp) 
	umsg.String("Start")
	umsg.End() 
	for k, weapongroup in pairs (servertable["ply"][plyuni]["weapons"]) do
		for _, weaponname in pairs (weapongroup) do
			umsg.Start("Weaponconfig", rp) 
			umsg.String("list" .. k)
			umsg.String(Translate(weaponname))
			umsg.End() 
		end
	end
	umsg.Start("Weaponconfig", rp) 
	umsg.String("Stop")
	umsg.End() 
end
concommand.Add("Weaponconfigstart",Weaponconfigstart)

function WeaponConfig(ply,command,args) 
	local plyuni = ply:UniqueID()
	local weaponclass = TranslateBack(args[1])
	local group = tonumber(args[2])
	local value = util.tobool(args[3])
	if value then
		table.insert(servertable["ply"][plyuni]["weapons"][group],weaponclass)
	else
		tableextract(servertable["ply"][plyuni]["weapons"][group],weaponclass)
	end
end
concommand.Add("WeaponConfig",WeaponConfig)

